package com.frog.service.friend.model.domain;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 真假聊天
 **/
@Builder
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "request_msg_status")
public class RequestMsgStatusDO {
    @Id
    private Long id;

    @Column(name = "from_user_id")
    private Integer fromUserId;

    @Column(name = "to_user_id")
    private Integer toUserId;
    /**
     * "0" : 拒绝聊天
     * "2" : 同意聊天
     * "3" : 待同意聊天
     */
    @Column(name = "chat_status")
    private String chatStatus;
    /**
     * "0" : 没有回应聊天
     * "1" : 已经回应聊天
     */
    @Column(name = "response_status")
    private String responseStatus;

    @Column(name = "create_time")
    private Long createTime;

    @Column(name = "update_time")
    private Long updateTime;
}